#ifndef _YATAK_LOG_H
#define _YATAK_LOG_H

#ifdef __cplusplus
extern "C" {
#endif

#include <types.h>

int write_log (char * log_name, char * msg, size_t size_msg);
int read_log (char * buf [], int max_len, char * log_name, int from, int number);
void print_log (char * log_name);

#ifdef __cplusplus
}
#endif

#endif